﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KCMS.BusinessLogic.Models;

namespace KCMS.BusinessLogic.Interfaces
{
    public interface INewsService
    {
        News getById(Guid id);
        News getByCode(String code);
        IEnumerable<News> getAllPublised();
        IEnumerable<News> getAll();
        void update(News news);
        void delete(Guid id);
        void save(News news);
    }
}
